package com.dao;

import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;

/**
 * Created by Administrator on 2019/1/10 0010.
 */
public interface PayDao {

    String findOpenId(@Param("userId")Integer userId);

    String findNewOpenId(@Param("userId")Integer userId);

    int addReward(@Param("userId")Integer userId, @Param("prices")BigDecimal prices, @Param("uuid")String uuid);

    int updataRewardMsg(@Param("transaction_id")String transaction_id,@Param("out_trade_no")String out_trade_no,@Param("nonceStr")String nonceStr,@Param("payTime")String payTime);

    int updataPayMessage(@Param("transaction_id")String transaction_id,@Param("out_trade_no")String out_trade_no,@Param("nonceStr")String nonceStr,@Param("payTime")String payTime);

    int updataRechargeMsg(@Param("transaction_id")String transaction_id,@Param("out_trade_no")String out_trade_no,@Param("nonceStr")String nonceStr,@Param("payTime")String payTime);

}
